package com.wuh.mapper;

import com.wuh.model.User;

import java.util.List;

import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface UserMapper {
     User login(User user);

    Integer register(User user);

    void editUserInfo(User user);

    User selectUserByName(String name);

    User getUserById(Integer user_id);

    int editPasswordById(User user);

    List<User> getUsers(User user);

    int delUserById(int id);

	int freezeUserById(int id);

	int unfreezeUserById(int id);
}
